package org.xtremeobjects.domain.core;

import java.util.UUID;

/**
 * Represents the interface to an object that has an identity
 * and can be identified by it.
 * @author Juan
 */
public interface IIdentifiable {

	/**
	 * Returns identity
	 * @return
	 */
	UUID getId();

	/**
	 * Sets identity
	 * @param anID
	 */
	void setId(UUID anID);
}
